import request from '@/utils/request'

// 查询例会管理列表
export function listRegularMeeting(query) {
  return request({
    url: '/cld/regularMeeting/list',
    method: 'get',
    params: query
  })
}

// 查询例会管理详细
export function getRegularMeeting(regularMeetingId) {
  return request({
    url: '/cld/regularMeeting/' + regularMeetingId,
    method: 'get'
  })
}

// 新增例会管理
export function addRegularMeeting(data) {
  return request({
    url: '/cld/regularMeeting',
    method: 'post',
    data: data
  })
}

// 修改例会管理
export function updateRegularMeeting(data) {
  return request({
    url: '/cld/regularMeeting',
    method: 'put',
    data: data
  })
}

// 删除例会管理
export function delRegularMeeting(regularMeetingId) {
  return request({
    url: '/cld/regularMeeting/' + regularMeetingId,
    method: 'delete'
  })
}
